package reentrantlock;

public class Father {

    protected synchronized void doSomething() {
        System.out.println(Thread.currentThread().getName() + ": " + "Father is doing something.");
    }
}
